//
//  CalendarEvent.m
//  OfficeBook
//
//  Created by 孙晓奇 on 15/9/22.
//  Copyright © 2015年 sunny. All rights reserved.
//

#import "CalendarEvent.h"


@implementation CalendarEvent

@dynamic subject;
@dynamic start;
@dynamic end;
@dynamic title;
@dynamic location;
@dynamic flag;

- (NSDate *)day
{
    return [[NSCalendar currentCalendar] startOfDayForDate:self.start];
}
@end
